package mil.af.amc.adpetracker.service;

import mil.af.amc.adpetracker.model.ItemCondition;
import mil.af.amc.adpetracker.dao.ItemConditionDao;

import java.util.List;

/**
 * Please Fill in this Javadoc
 *
 * @author TSgt Jason Ferguson
 */

public class ItemConditionServiceImpl implements ItemConditionService {

    ItemConditionDao itemConditionDao;

    public void setItemConditionDao(ItemConditionDao itemConditionDao) {
        this.itemConditionDao = itemConditionDao;
    }

    public ItemCondition getById(int id) {

        return itemConditionDao.getById(id);

    }

    public List<ItemCondition> getAll() {

        return itemConditionDao.getList();

    }
}
